Current Pen Location Constant

You can pass this constant to functions that operate on text layout objects to indicate that drawing, measuring, or hit-testing should be done relative to the current pen location in the current graphics port.

enum {
    kATSUUseGrafPortPenLoc  = (long)0xFFFFFFFF,
};

Constant description

kATSUUseGrafPortPenLoc
Indicates that drawing, measuring, or hit-testing should be done relative to the current pen location in the current graphics port. ATSUI looks at the current graphics port location (it knows the last draw location from moves and lineto calls) and uses that.
VERSION NOTES
Available beginning with ATSUI 1.0.


© 2000 Apple Computer, Inc. – (Last Updated 25 Jan 00)